package com.ynet.middleground.contract.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 上传文件并无认证PDF文件签署结果
 * 
 * @author liulx
 */
@Data
@ApiModel(value = "上传文件并无认证PDF文件签署结果", description = "上传文件并无认证PDF文件签署结果")
public class UploadAndSignWithoutAuthResultDTO implements Serializable {

    private static final long serialVersionUID = 5698826110105669789L;

    @ApiModelProperty(value = "签署记录 id（使用 e 签宝服务会返回）", notes = "签署记录 id（使用 e 签宝服务会返回）", dataType = "String")
    private String signServiceId;

    @ApiModelProperty(value = "签署详情链接（使用 e 签宝服务会返回）", notes = "签署详情链接（使用 e 签宝服务会返回）", dataType = "String")
    private String signDetailUrl;

    @ApiModelProperty(value = "签署后文件流 Base64 字符串", notes = "签署后文件流 Base64 字符串", dataType = "String")
    private String fileBase64;

    @ApiModelProperty(value = "签署后文件地址", notes = "签署后文件地址", dataType = "String")
    private String fileUrl;

    @ApiModelProperty(value = "e签宝返回错误码，0标识成功，其他均标识失败", notes = "e签宝返回错误码，0标识成功，其他均标识失败")
    private Integer esignErrCode;

    @ApiModelProperty(value = "e签宝返回错误信息", notes = "e签宝返回错误信息")
    private String esignMsg;

}
